/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Model;

/**
 *
 * @author elach_000
 */
public class Statistics {

    private static int nbSteps = 0;
    private static int nbDoes = 0;
    private static int nbLions = 0;
    private static int nbCows = 0;
    private static int nbMapWood = 0;
    private static int nbMapGold = 0;
    private static int nbMapStone = 0;
    private static int nbMapWater = 0;
    private static int nbDeadAnimals = 0;
    private static int nbDeadVillagers = 0;

    public static int getNbSteps() {
        return nbSteps;
    }

    public static void setNbSteps(int nbSteps) {
        Statistics.nbSteps = nbSteps;
    }

    public static int getNbMapWood() {
        return nbMapWood;
    }

    public static void setNbMapWood(int nbMapWood) {
        Statistics.nbMapWood = nbMapWood;
    }

    public static int getNbMapGold() {
        return nbMapGold;
    }

    public static void setNbMapGold(int nbMapGold) {
        Statistics.nbMapGold = nbMapGold;
    }

    public static int getNbMapStone() {
        return nbMapStone;
    }

    public static void setNbMapStone(int nbMapStone) {
        Statistics.nbMapStone = nbMapStone;
    }

    public static int getNbMapWater() {
        return nbMapWater;
    }

    public static void setNbMapWater(int nbMapWater) {
        Statistics.nbMapWater = nbMapWater;
    }

    public static int getNbDeadAnimals() {
        return nbDeadAnimals;
    }

    public static void setNbDeadAnimals(int nbDeadAnimals) {
        Statistics.nbDeadAnimals = nbDeadAnimals;
    }

    public static int getNbDeadVillagers() {
        return nbDeadVillagers;
    }

    public static void setNbDeadVillagers(int nbDeadVillagers) {
        Statistics.nbDeadVillagers = nbDeadVillagers;
    }

    public static int getNbDoes() {
        return nbDoes;
    }

    public static void setNbDoes(int nbDoes) {
        Statistics.nbDoes = nbDoes;
    }

    public static int getNbLions() {
        return nbLions;
    }

    public static void setNbLions(int nbLions) {
        Statistics.nbLions = nbLions;
    }

    public static int getNbCows() {
        return nbCows;
    }

    public static void setNbCows(int nbCows) {
        Statistics.nbCows = nbCows;
    }

    public static void majResource(int amount, ResourceType type) {
        switch (type) {
            case Gold:
                Statistics.setNbMapGold(nbMapGold - amount);
                break;
            case Stone:
                Statistics.setNbMapStone(nbMapStone - amount);
                break;
            case Wood:
                Statistics.setNbMapWood(nbMapWood - amount);
                break;
        }
    }
}
